package com.gtw.modules.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.TbAddress;

import java.util.List;
import java.util.Map;

import com.gtw.modules.entity.TbCollection;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 地址信息
 *
 * @author wuye
 */
@Mapper
@Repository
public interface TbAddressDao {

    int deleteByPrimaryKey(Integer id);

    int insert(TbAddress record);

    int insertSelective(TbAddress record);

    TbAddress selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbAddress record);

    int updateByPrimaryKey(TbAddress record);

    List<TbAddress> findbyUid(String uid);

    List<TbAddress> queryPageList(Page<TbAddress> pageUtil, Map<String, Object> map);
}